<script type="text/javascript" src="mathUtil/mathUtil.js" ></script>
<script>
var primes = new Array();
var bound=100;
var result;

function getMaskedPrime(prime){
    var primePosibilities = new Array();
    for (var i=0; i<prime.length;i++){
        alert (prime.charAt(i));
    }

}

function findSameMaskedPrimes(primes){
    
}
/*
for (var i=11;;i++){
    if (i<bound){
        if (isPrime(i)){
            primes.push(i);
        }
    }else{
        result = findSameMaskedPrimes(primes);
        if (result != null){
            break;
        }
        primes = new Array();
        bound *=10;
    }
}
*/
alert (getMaskedPrime("121315"));

</script>